package com.tianhui.consignortwofei.mvp.contract;

import com.fgs.common.CommonPresenter;
import com.fgs.common.CommonView;
import com.tianhui.consignortwofei.mvp.model.enty.ConsignorInfo;

import java.util.Map;

/**
 * @author fgs
 * @date 2021/4/6
 * @description
 **/
public interface AuthContract {
    interface View extends CommonView {
        void showConsignorAuthenticationInfo(ConsignorInfo driverAuthInfo);


        void showCommitSuccess(int type);

        void showCommitFailed(int type);



        void commitSuccess();
    }

    abstract class Presenter extends CommonPresenter<View> {


        public abstract void requestConsignorAuthenticationInfo(Map<String, String> map, boolean isDialog);



        public abstract void requestConsignorInfoCommit(ConsignorInfo info, int type);

    }
}
